Error: CPPCHECK_WARNING (CWE-457): [#def1] passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/icmp.c:288: error[legacyUninitvar]: Uninitialized variable: proto # 286| } # 287| # 288|-> flow = flow_at_sidx(flow_lookup_af(c, proto, PIF_TAP, # 289| af, saddr, daddr, id, id)); # 290| Error: CPPCHECK_WARNING (CWE-457): [#def2] passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/icmp.c:289: error[legacyUninitvar]: Uninitialized variable: id # 287| # 288| flow = flow_at_sidx(flow_lookup_af(c, proto, PIF_TAP, # 289|-> af, saddr, daddr, id, id)); # 290| # 291| if (flow) Error: GCC_ANALYZER_WARNING (CWE-775): [#def3] passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/qrap.c: scope_hint: In function ‘main’ passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/qrap.c:402:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(s, (int)fd)’ passt-0_20241030.gee7d0b6-build/passt-ee7d0b62a716201abc818eb0d1df4c6bb1051336/qrap.c: scope_hint: In function ‘main’ # 400| fprintf(stderr, "Connected to %s\n", addr.sun_path); # 401| # 402|-> if (dup2(s, (int)fd) < 0) { # 403| perror("dup"); # 404| exit(EXIT_FAILURE);
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-110.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | passt-0^20241030.gee7d0b6-1.fc42 |
store-results-to | /tmp/tmpoe8yndd5/passt-0^20241030.gee7d0b6-1.fc42.tar.xz |
time-created | 2024-11-13 02:21:07 |
time-finished | 2024-11-13 02:22:58 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpoe8yndd5/passt-0^20241030.gee7d0b6-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpoe8yndd5/passt-0^20241030.gee7d0b6-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |